package com.diamond.bo;

import java.io.Serializable;

import com.diamond.util.DiamondUtil;

public class InlayDiamonBO implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 2733251120813538059L;
	private Long inlayDiamondId;
	private Long userId;
	private String userName;
	private String cmpName;
	private String inlayLevel;
	private String inlayType;
	private String inlayName;
	private String inlayNumber;
	private String inlayMaterial;
	private String inlayWeight;
	private String inlaySize;
	private String remark;
	private String inlayDiaStatus;
	private String delStatus;
	private String version;
	private Double k18Price;
	private Double pt900Price;
	private Double pt950Price;
	private String k18PriceFormat;
	private String pt900PriceFormat;
	private String pt950PriceFormat;
	private String k18Weight;
	private String pt900Weight;
	private String pt950Weight;
	private String factoryNumber;
	private String picture;
	
	private String diaBatch;//附石
	private String handSize;//手寸
	private String text;//刻字
	private Double price;
	private String priceFormat;
	
	private Double rate;
	
	private String minPrice;//搜索使用，价格下限
	private String maxPrice;//搜索使用，价格上限
	public Long getInlayDiamondId() {
		return inlayDiamondId;
	}

	public void setInlayDiamondId(Long inlayDiamondId) {
		this.inlayDiamondId = inlayDiamondId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
	

	public String getInlayLevel() {
		return inlayLevel;
	}

	public void setInlayLevel(String inlayLevel) {
		this.inlayLevel = inlayLevel;
	}

	public String getInlayType() {
		return inlayType;
	}

	public void setInlayType(String inlayType) {
		this.inlayType = inlayType;
	}

	public String getInlayName() {
		return inlayName;
	}

	public void setInlayName(String inlayName) {
		this.inlayName = inlayName;
	}

	public String getInlayNumber() {
		return inlayNumber;
	}

	public void setInlayNumber(String inlayNumber) {
		this.inlayNumber = inlayNumber;
	}

	public String getInlayMaterial() {
		return inlayMaterial;
	}

	public void setInlayMaterial(String inlayMaterial) {
		this.inlayMaterial = inlayMaterial;
	}

	public String getInlayWeight() {
		return inlayWeight;
	}

	public void setInlayWeight(String inlayWeight) {
		this.inlayWeight = inlayWeight;
	}

	public String getInlaySize() {
		return inlaySize;
	}

	public void setInlaySize(String inlaySize) {
		this.inlaySize = inlaySize;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getInlayDiaStatus() {
		return inlayDiaStatus;
	}

	public void setInlayDiaStatus(String inlayDiaStatus) {
		this.inlayDiaStatus = inlayDiaStatus;
	}

	public String getDelStatus() {
		return delStatus;
	}

	public void setDelStatus(String delStatus) {
		this.delStatus = delStatus;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	

	public Double getK18Price() {
		if(k18Price==null)return 0d;
		return k18Price;
	}

	public void setK18Price(Double k18Price) {
		this.k18Price = k18Price;
	}

	public Double getPt900Price() {
		if(pt900Price==null)return 0d;
		return pt900Price;
	}

	public void setPt900Price(Double pt900Price) {
		this.pt900Price = pt900Price;
	}

	public Double getPt950Price() {
		if(pt950Price==null)return 0d;
		return pt950Price;
	}

	public void setPt950Price(Double pt950Price) {
		this.pt950Price = pt950Price;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getDiaBatch() {
		return diaBatch;
	}

	public void setDiaBatch(String diaBatch) {
		this.diaBatch = diaBatch;
	}

	public String getHandSize() {
		return handSize;
	}

	public void setHandSize(String handSize) {
		this.handSize = handSize;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getMinPrice() {
		return minPrice;
	}

	public void setMinPrice(String minPrice) {
		this.minPrice = minPrice;
	}

	public String getMaxPrice() {
		return maxPrice;
	}

	public void setMaxPrice(String maxPrice) {
		this.maxPrice = maxPrice;
	}

	public String getPriceFormat() {
		return DiamondUtil.DoubleFormat(price);
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setPriceFormat(String priceFormat) {
		this.priceFormat = priceFormat;
	}

	public Double getRate() {
		return rate;
	}

	public void setRate(Double rate) {
		this.rate = rate;
	}

	public String getK18Weight() {
		return k18Weight;
	}

	public void setK18Weight(String k18Weight) {
		this.k18Weight = k18Weight;
	}

	public String getPt900Weight() {
		return pt900Weight;
	}

	public void setPt900Weight(String pt900Weight) {
		this.pt900Weight = pt900Weight;
	}

	public String getPt950Weight() {
		return pt950Weight;
	}

	public void setPt950Weight(String pt950Weight) {
		this.pt950Weight = pt950Weight;
	}

	public String getFactoryNumber() {
		return factoryNumber;
	}

	public void setFactoryNumber(String factoryNumber) {
		this.factoryNumber = factoryNumber;
	}

	public String getK18PriceFormat() {
		return DiamondUtil.DoubleFormat(k18Price);
	}

	public String getPt900PriceFormat() {
		return DiamondUtil.DoubleFormat(pt900Price);
	}

	public String getPt950PriceFormat() {
		return DiamondUtil.DoubleFormat(pt950Price);
	}

	public String getCmpName() {
		return cmpName;
	}

	public void setCmpName(String cmpName) {
		this.cmpName = cmpName;
	}

	public void setK18PriceFormat(String priceFormat) {
		k18PriceFormat = priceFormat;
	}

	public void setPt900PriceFormat(String pt900PriceFormat) {
		this.pt900PriceFormat = pt900PriceFormat;
	}

	public void setPt950PriceFormat(String pt950PriceFormat) {
		this.pt950PriceFormat = pt950PriceFormat;
	}

}
